module.exports = {
  base: '/',
  markdown: {
    lineNumbers: false,
  },
  themeConfig: {
    docsDir: 'docs',
    logo: '/logo.png',
    icon: '',
    sidebar: {
      '/guide/v1/': [{
          isGroup: true,
          title: '基础说明',
          collapsable: false,
          children: [
            '/guide/v1/introduction',
            '/guide/v1/install',
          ]
        },
        {
          isGroup: true,
          title: '已封装组件',
          collapsable: false,
          children: [
            '/guide/v1/changed/image',
            '/guide/v1/changed/modal',
            '/guide/v1/changed/cropper',
            '/guide/v1/changed/input',
          ]
        },
        {
          isGroup: true,
          title: '未封装组件',
          collapsable: false,
          children: [
            '/guide/v1/unchanged/alert',
            '/guide/v1/unchanged/avatar',
            '/guide/v1/unchanged/backtop',
            '/guide/v1/unchanged/badge',
            '/guide/v1/unchanged/breadcrumb',
            '/guide/v1/unchanged/button',
            '/guide/v1/unchanged/calendar',
            '/guide/v1/unchanged/card',
            '/guide/v1/unchanged/carousel',
            '/guide/v1/unchanged/cascader',
            '/guide/v1/unchanged/collapse',
            '/guide/v1/unchanged/color-picker',
            '/guide/v1/unchanged/date-picker',
            '/guide/v1/unchanged/descriptions',
            '/guide/v1/unchanged/dialog',
            '/guide/v1/unchanged/divider',
            '/guide/v1/unchanged/drawer',
            '/guide/v1/unchanged/dropdown',
            '/guide/v1/unchanged/empty',
            '/guide/v1/unchanged/form',
            '/guide/v1/unchanged/infinite-scroll',
            '/guide/v1/unchanged/input',
            '/guide/v1/unchanged/input-number',
            '/guide/v1/unchanged/link',
            '/guide/v1/unchanged/page-header',
            '/guide/v1/unchanged/pagination',
            '/guide/v1/unchanged/popconfirm',
            '/guide/v1/unchanged/popover',
            '/guide/v1/unchanged/progress',
            '/guide/v1/unchanged/rate',
            '/guide/v1/unchanged/result',
            '/guide/v1/unchanged/skeleton',
            '/guide/v1/unchanged/slider',
            '/guide/v1/unchanged/steps',
            '/guide/v1/unchanged/switch',
            '/guide/v1/unchanged/table',
            '/guide/v1/unchanged/tabs',
            '/guide/v1/unchanged/tag',
            '/guide/v1/unchanged/time-picker',
            '/guide/v1/unchanged/timeline',
            '/guide/v1/unchanged/tooltip',
            '/guide/v1/unchanged/transfer',
            '/guide/v1/unchanged/tree',
          ]
        }
      ]
    },
    nav: [{
      text: '第三方UI库',
      items: [{
          text: 'VantUI',
          link: 'https://vant-contrib.gitee.io/vant/#/zh-CN/'
        },
        {
          text: 'ElementUI',
          link: 'https://element.eleme.io/#/zh-CN'
        }
      ]
    }, {
      text: 'test',
      link: '/guide/test'
    }]
  },
  head: [
    ['link', { href: '/icon.png', rel: 'icon' }]
  ]
}